<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-family: 宋体;
	font-size: 12px;
	color: #666666;
}
td{ margin-left:10px; border-bottom: dashed #D5D5D5 1px; height:25px; float:left; text-align:left; color: #009999;}
li{ margin:0px;; height:15px; padding-top:10px;}
.a1{border: #E1E1E1 solid 1px; width:20px; height:18px; background:#EEEEEE; color: #FF9900; }
.a2{border: #E1E1E1 solid 1px; width:80px; height:18px; background:#EEEEEE; color: #FF9900; }
.a3{border: #E1E1E1 solid 1px; width:20px; height:18px; background: #009999; color: #FFffff; }
.STYLE1 {
	color: #333333;
	font-weight: bold;
}
-->
</style>
<div id=list-div>
<div style=" height:25px; background:#EAEAEA; padding-left:10px; padding-top:5px; color:#FF9900; font-weight:bold; font-size:14px;">--NAT配置列表-- </div>
<form name="" method="post" action="index.php?act={$act}">
    <input type="hidden" name="btcid" value="$btcid" />
    <input type="hidden" name="sumtype" value="btc" />
	<div style="margin-left:8px; height:28px; padding:10px 10px 3px 10px;width:95%; color:#009999; background:#A4E1F9; float:left; font-weight:bold; ">NAT列表</div>
	<div style="margin-left:8px; padding:5px 0px 0px 0px;width:95%; color:#009999; border:#A4E1F9 solid 1px; float:left; font-weight:bold; padding-bottom:5px;">
	
	<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF" >
	<thead>
		<tr>
		  <th width="9%" height="27" align="center" valign="middle" bgcolor="#EFEFEF"><div align="center" class="STYLE1">RULE_ID</div></th>
		  <th align="center" valign="middle" bgcolor="#EFEFEF"><div align="center" class="STYLE1">唯一标志</div></th>
		  <th colspan="3" align="center" valign="middle" bgcolor="#EFEFEF"><div align="center" class="STYLE1">操作</div></th>
		</tr>
	</thead>
	<tbody>
<?php
foreach ($ruledb as $rl)
{
?>
		<tr>
			<td align="center"><div align="center"><a href="natdispos.php?action=modifyrule&rid=<?=$rl[rid]?>"><?=$rl[rid]?></a></div></td>
			<td align="center"><div align="center"><?=$rl[toip].':'.$rl[toport]?></div></td>
			<td width="8%" align="center"><div align="center"><div><a href="natdispos.php?action=modifyrule&rid=<?=$rl[rid]?>">编辑</a></div></td>
			<td width="8%" align="center"><div align="center"><div><a href="natdispos.php?action=modifyrule&rid=<?=$rl[rid]?>">禁用</a></div></td>
			<td width="8%" align="center"><div align="center"><div><a href="natdispos.php?action=delrule&rid=<?=$rl[rid]?>">删除</a></div></td>
		</tr>
<?php
}
?>
	 </tbody>
	</table>
    <p align="center"><?=$pages?><!--<a href="natdispos.php?action=natlist&amp;pages={$prepage}"  class="a2">上一页</a> <a href="btc.inc.php?action=btclist&amp;pages=1"  class="a3">1</a> <a href="btc.inc.php?action=btclist&amp;pages=2"  class="a1">2</a> <a href="btc.inc.php?action=btclist&amp;pages=3"  class="a1">3</a> <a href="btc.inc.php?action=btclist&amp;pages={$nextpage}" class="a2">下一页</a>--></p>
	</div>
</form>
</div>



 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	
 	 